<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试minio上传</title>
</head>
<body>
<form th:action="@{/uploadImg}" accept-charset="UTF-8" method="post" enctype="multipart/form-data" target="_blank">
    文件：<input type="file" name="file">
    <input type="submit" value="上传">
</form>

</body>
</html>